package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

/**
 * 作者：SimGa
 * 日期：2020/12/20
 * 时间：15:52
 * 包名：com.vitabuybuy.tv.dto
 */
public class HotKeyDto {

    /**
     * id : 1
     * enabled : true
     * name : 1
     * position : 1
     */

    private int id;
    private boolean enabled;
    private String name;
    private int position;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getName() {
        return LanaugeUtils.returnStrByLocation(name);
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }
}
